package cn.xxc.org.domain;

import cn.xxc.basic.domain.BaseDomain;
import cn.xxc.system.domain.Role;
import lombok.Data;

import java.util.List;

/*
* 员工实体
* */
@Data
public class Employee extends BaseDomain {
    //名字
    private String username;
    //电话
    private String phone;
    //邮箱
    private String email;
    //盐值
    private String salt;
    //密码
    private String password;
    //年龄
    private Integer age;
    //状态
    private Integer state;
    //所属部门id
    private Long department_id;
    //登录信息ID
    private Long logininfo_id;
    //店铺ID
    private Long shop_id;

    //部门
    private Department department;

    //role角色
    private List<Role> role;

    //role_id
    private Integer[] role_id;
}